
<table height="320" width="603px">
				<tr><td id="info" valign="top">
					<table cellpadding="0" cellspacing="0" >
						<tr><td width="395px" valign="top">
						<?php include 'navbar.php'; ?>
						</td>
						<td>&nbsp;</td>
						<td valign="top">
							<table cellpadding="0" cellspacing="0" border="0" align="right" width="185px"><tr><td >
							<?php 
							
							$username = $_SESSION['username'];          					$query = "select * from user where username='$username'";         					$result = mysql_query($query);
							$user = mysql_fetch_array($result);
							$temp = $user['nick'];
							if (empty($temp)) { include 'guestgreet.php'; } else{ include 'usergreet.php'; } ?>
							</td></tr><tr><td id="login"><div align="right"><span style="font-size:12px"><? echo $user['nick']; ?></span> ( <strong><?php if (is_authed()) { echo '<a href="index.php?act=logout">Logout</a>';} else {echo '<a href="register.php">Register</a> | <a href="index.php">Log In</a> ';} ?> </strong> )</div></td></tr></table>

					

						</td></tr>
					</table>

					<table cellpadding="0" cellspacing="0"><tr><td width="385px">
					<div align="left"><h3>site is pretty much completed</h3>
						<span style="font-size:10px">May 10th 2008</span>
						<p /><span style="font-size:12px">Lopem Ipsum goes here</span>
					</div>
					</td><td valign="top">
						<div align="right">
							<?php
                            if (is_authed()) { include 'sidebar.php';} elseif (!is_authed()) { echo '' ;} ?>						</div>				
					</td>

					</tr></table>
				
					</td></tr>
			</table>
			</td>
		</tr>
	</table>
<?php include 'footer.php'; ?>
